package com.rc.saas.tenant.mapper.acct;

import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.acct.AcctWithdrawInvoice;
import com.rc.saas.tenant.model.acct.AcctWithdrawInvoiceExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AcctWithdrawInvoiceMapper extends BaseMapper<Long, AcctWithdrawInvoice, AcctWithdrawInvoiceExample> {

    void insertBatchWithdrawInvoice(@Param("withdrawApplyId") Long withdrawApplyId, @Param("invoicePathList") List<String> invoicePathList);

    List<AcctWithdrawInvoice> listInvoiceByApplyId(@Param("withdrawApplyId")Long withdrawApplyId,@Param("downloadRoot") String downloadRoot);

    List<AcctWithdrawInvoice> listAcctWithdrawInvoice(@Param("withdrawApplyIds") List<Long> withdrawApplyIds);

}